<!DOCTYPE html>
<html>
<head>
	<title></title><!-- 封装自己的push,pop,unshift,shift方法(数组) -->
	<script type="text/javascript">
		var arr1=[89,75,99,'hello','post'];
		arr1.push('xcc');
		console.log(arr1);
		arr1.pop();
		console.log(arr1);
		arr1.unshift('awa','fnc');
		console.log(arr1);
		arr1.shift();
		console.log(arr1);
	</script>
</head>
<body>

</body>
</html>